package com.ydgk.dao;

import com.ydgk.bean.City;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CityMapper {
    @Select("select * from city where p_pid = #{pid}")
    List<City> findByPid(int pid);

    @Select("select * from city where cid = #{cid}")
    City findById(int cid);
}
